<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="./js/vue.min.js"></script>
</head>

<body>

    <div id="app">
        {{message}}
        <h2 v-text="message"></h2>
        <h2 v-html="url"></h2>
    </div>
</body>
<script>
    var VM = new Vue({
        el: '#app',
        data: {
            message: "<a href='https://www.baidu.com'>百度一下</a>",
            url: "<a href='https://www.baidu.com'>百度一下</a>",
        }
    })
</script>

</html>